package com.cqupt.service;

import com.cqupt.pojo.Package;

import java.util.List;

/**
 * @author 蒋俊贤
 * @version 1.0
 */
public interface PackageService {
    //查询套餐
    public List selectPackage(Integer number);
    //新增套餐
    public int insertPackage(Package pac);

    //修改套餐
    public int updatePackage(Package pac);

    //删除套餐
    public int deletePackage(Integer id);

    //上架套餐
    public int onlinePackage(Integer id);

    //下架套餐
    public int offlinePackage(Integer id);

}
